package com.bestcem.xm.member.controller.param.extendfield;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import java.util.List;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description 批量更新联系人扩展段信息
 * @date 2021/8/6
 */
@Getter
@Setter
@ToString
public class BatchModifyFieldsRequest {
    @JsonProperty("field_insert_list")
    @Valid
    private List<ExtendFieldRequest> insertFields;

    /**
     * 扩展字段更新集合
     */
    @JsonProperty("field_update_list")
    @Valid
    private List<ExtendFieldRequest> updateFields;

    /**
     * 扩展字段待删除标识集合
     */
    @JsonProperty("field_delete_list")
    private List<ExtendFieldRequest> deleteFields;
}
